package as.leap.rpc.example.spi;

/**
 * Created by stream.
 */
public class MyException extends RuntimeException {

  private int code = 400;

  public int getCode() {
    return code;
  }

  public void setCode(int code) {
    this.code = code;
  }

  public MyException(String message) {
    super(message);
  }

  public MyException(String message, Throwable cause) {
    super(message, cause);
  }

  public MyException(Throwable cause) {
    super(cause);
  }
}
